package com.sky.jsoup.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PropertiesController {

    @Resource
    private PropertiesUtil propertiesUtil;

    @GetMapping("test")
    public void test(){
        System.out.println(propertiesUtil.getName());
        System.out.println(propertiesUtil.getAge());
    }
}
